/* 上传区域样式 - 基础样式 */
#uploadDropZone {
    border: 2px dashed #adb5bd;
    background-color: rgba(173, 181, 189, 0.05);
    transition: all 0.3s;
    cursor: pointer;
    color: #212529; /* 默认文字颜色 */
}

#uploadDropZone:hover {
    border-color: #ffc107;
    background-color: rgba(255, 193, 7, 0.05);
}

#uploadDropZone.dragover {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
}

/* 暗黑模式适配 - 上传区域 */
[data-bs-theme="dark"] #uploadDropZone {
    border-color: #495057;
    background-color: rgba(73, 80, 87, 0.05);
    color: #f8f9fa; /* 暗黑模式文字颜色 */
}

[data-bs-theme="dark"] #uploadDropZone:hover {
    border-color: #ffc107;
    background-color: rgba(255, 193, 7, 0.1);
}

[data-bs-theme="dark"] #uploadDropZone.dragover {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.2);
}

/* 确保模态框本身适配暗黑模式 */
[data-bs-theme="dark"] .modal-content {
    background-color: #212529;
    color: #f8f9fa;
}

[data-bs-theme="dark"] .modal-header {
    border-bottom-color: #495057;
}

[data-bs-theme="dark"] .modal-footer {
    border-top-color: #495057;
}

/* 按钮适配 */
[data-bs-theme="dark"] .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

[data-bs-theme="dark"] .btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}